Masteriyo\Models\Course D

Total Complexity 169
Dependencies 12
Dependents 12
Total lines 1,988
Lines of code 605
Logical lines of code 274
Comment lines 1,143
Methods 114
Properties 5

Methods 114

Method Rating Maintainability Complexity Lines of code
get_first_lesson_or_quiz()
A
41 8 64
is_visible_core()
A
59 9 12
is_on_sale()
S
58 8 14
add_to_cart_url()
S
57 7 16
get_image()
S
58 6 15
start_course_url()
S
55 4 18
set_status()
S
62 5 10
continue_course_url()
S
51 2 28
add_to_cart_text()
S
62 3 11
get_rating_count()
S
65 3 9
get_progress_status()
S
62 3 10
is_purchasable()
S
67 3 7
is_review_allowed()
S
68 2 7
single_add_to_cart_text()
S
67 2 7
get_categories()
S
60 1 15
get_tags()
S
60 1 15
get_difficulty()
S
59 1 15
get_featured_image_url()
S
70 2 6
status_transition()
S
66 2 8
add_to_cart_description()
S
67 2 7
get_edit_post_link()
S
66 2 8
get_preview_link()
S
62 1 12
set_author_id()
S
79 1 3
set_featured_image()
S
79 1 3
set_difficulty_id()
S
79 1 3
set_tag_ids()
S
78 1 3
set_category_ids()
S
78 1 3
set_date_on_sale_to()
S
80 1 3
set_date_on_sale_from()
S
80 1 3
set_sale_price()
S
79 1 3
set_price_type()
S
80 1 3
set_reviews_allowed()
S
80 1 3
set_regular_price()
S
79 1 3
set_short_description()
S
80 1 3
set_price()
S
79 1 3
set_menu_order()
S
79 1 3
set_post_password()
S
80 1 3
set_featured()
S
79 1 3
set_parent_id()
S
79 1 3
set_highlights()
S
80 1 3
set_rating_counts()
S
78 1 3
set_is_creating()
S
79 1 3
get_available_seats()
S
72 1 5
single_course_completed_text()
S
78 1 3
single_course_continue_text()
S
78 1 3
single_course_start_text()
S
78 1 3
get_difficulties()
S
66 1 8
is_visible()
S
75 1 4
exists()
S
80 1 3
set_is_ai_created()
S
79 1 3
set_average_rating()
S
79 1 3
set_image_id()
S
80 1 3
set_purchase_note()
S
80 1 3
set_show_curriculum()
S
79 1 3
set_billing_cycle()
S
79 1 3
set_access_mode()
S
80 1 3
set_duration()
S
79 1 3
set_enrollment_limit()
S
79 1 3
set_review_count()
S
79 1 3
set_description()
S
80 1 3
__construct()
S
81 1 3
set_date_modified()
S
80 1 3
get_date_modified()
S
79 1 3
get_author_id()
S
79 1 3
get_date_on_sale_to()
S
79 1 3
get_date_on_sale_from()
S
79 1 3
get_reviews_allowed()
S
79 1 3
get_post_password()
S
79 1 3
get_excerpt()
S
67 1 7
get_short_description()
S
79 1 3
get_description()
S
79 1 3
get_catalog_visibility()
S
79 1 3
get_status()
S
79 1 3
get_date_created()
S
79 1 3
get_menu_order()
S
79 1 3
get_slug()
S
79 1 3
get_name()
S
79 1 3
get_rest_formatted_price()
S
73 1 4
get_post_type()
S
82 1 3
get_object_type()
S
82 1 3
get_human_readable_lecture_hours()
S
80 1 3
get_children()
S
82 1 3
get_preview_course_link()
S
80 1 3
get_permalink()
S
80 1 3
get_title()
S
79 1 3
get_stock_managed_by_id()
S
81 1 3
get_parent_id()
S
79 1 3
get_price()
S
79 1 3
set_date_created()
S
80 1 3
get_duration()
S
79 1 3
save()
S
74 1 5
set_name()
S
80 1 3
get_is_creating()
S
79 1 3
get_is_ai_created()
S
79 1 3
get_image_id()
S
80 1 3
get_highlights()
S
79 1 3
get_purchase_note()
S
79 1 3
get_show_curriculum()
S
79 1 3
get_billing_cycle()
S
79 1 3
get_access_mode()
S
79 1 3
get_enrollment_limit()
S
79 1 3
get_regular_price()
S
79 1 3
get_review_count()
S
79 1 3
get_average_rating()
S
79 1 3
get_rating_counts()
S
79 1 3
is_featured()
S
80 1 3
get_featured()
S
79 1 3
get_featured_image()
S
79 1 3
get_difficulty_id()
S
79 1 3
get_tag_ids()
S
79 1 3
get_category_ids()
S
79 1 3
get_price_type()
S
79 1 3
get_sale_price()
S
79 1 3
set_slug()
S
80 1 3